home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / dhcpctrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-02-21  |  1.8 KB  |  56 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     dhcpctrs.h
  8.  
  9.     Offset definitions for the DHCP Server's counter objects & counters.
  10.  
  11.     These offsets *must* start at 0 and be multiples of 2.  In the
  12.     OpenDhcpPerformanceData procedure, they will be added to the
  13.     DHCP Server's "First Counter" and "First Help" values in order to
  14.     determine the absolute location of the counter & object names
  15.     and corresponding help text in the registry.
  16.  
  17.     This file is used by the DHCPCTRS.DLL DLL code as well as the
  18.     DHCPCTRS.INI definition file.  DHCPCTRS.INI is parsed by the
  19.     LODCTR utility to load the object & counter names into the
  20.     registry.
  21.  
  22. */
  23.  
  24.  
  25. #ifndef _DHCPCTRS_H_
  26. #define _DHCPCTRS_H_
  27.  
  28. //
  29. //  The WINS Server counter object.
  30. //
  31.  
  32. #define DHCPCTRS_COUNTER_OBJECT           0
  33.  
  34.  
  35. //
  36. //  The individual counters.
  37. //
  38.  
  39. #define DHCPCTRS_PACKETS_RECEIVED         2
  40. #define DHCPCTRS_PACKETS_DUPLICATE        4
  41. #define DHCPCTRS_PACKETS_EXPIRED          6
  42. #define DHCPCTRS_MILLISECONDS_PER_PACKET  8
  43. #define DHCPCTRS_PACKETS_IN_ACTIVE_QUEUE  10
  44. #define DHCPCTRS_PACKETS_IN_PING_QUEUE    12
  45. #define DHCPCTRS_DISCOVERS                14
  46. #define DHCPCTRS_OFFERS                   16
  47. #define DHCPCTRS_REQUESTS                 18
  48. #define DHCPCTRS_INFORMS                  20
  49. #define DHCPCTRS_ACKS                     22
  50. #define DHCPCTRS_NACKS                    24
  51. #define DHCPCTRS_DECLINES                 26
  52. #define DHCPCTRS_RELEASES                 28
  53.  
  54. #endif  // _DHCPCTRS_H_
  55.  
  56.